package cn.yunhe.service;

import cn.yunhe.entity.Field;
import cn.yunhe.entity.KnowledgePoint;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

public interface KnowledgePointService {



    /**
     * 查询所有
     * @param map
     * @return
     */
    Page getKnowledgePointListByPage(Map<String, Object> map);


    /**
     * 增
     * @param knowledgePoint
     */
    int addKnowledgePoint(KnowledgePoint knowledgePoint);

    /**
     * 删
     * @param knowledgePoint
     */

    int delKnowledgePoint(KnowledgePoint knowledgePoint);

    /**
     * 改
     * @param knowledgePoint
     */
    int updKnowledgePoint(KnowledgePoint knowledgePoint);

    /**
     * 根据id查标签
     * @param knowledgePoint
     * @return
     */
    KnowledgePoint getKnowledgePointById(KnowledgePoint knowledgePoint);


}
